]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
[StTextureCache] Fix an accidentally swapped ref/unref
authorFlorian Müllner <fmuellner@src.gnome.org>
Thu, 11 Mar 2010 20:40:42 +0000 (21:40 +0100)
committerFlorian Müllner <fmuellner@src.gnome.org>
Thu, 11 Mar 2010 20:42:32 +0000 (21:42 +0100)
src/st/st-texture-cache.c

index b1e372338f7a65532bf3ef529026af991383cd17..ad62011206b2a0db41fb0c19bb3f23c167581aa8 100644 (file)
@@ -865,7 +865,7 @@ st_texture_cache_load (StTextureCache       *cache,
       else
         return COGL_INVALID_HANDLE;
     }
-  cogl_handle_unref (texture);
+  cogl_handle_ref (texture);
   return texture;
 }